This document is adapted from the Bar Charts section of the Altair Example Gallery.

Our first step is to set up our environment:

Histogram with a Global Mean Overlay

Altair example

Chart

Layered Histogram

Altair example

Chart

Trellis Histogram

Altair example

This example is originally from Vega-Lite.

Chart